import logging
import uvicorn
from src.backend.api import app
from src.backend.config import HOST, PORT, DEBUG, LOG_LEVEL

logging.getLogger("asyncssh").setLevel(logging.WARNING)

if __name__ == "__main__":
    uvicorn.run(
        "src.backend.api:app",
        host=HOST,
        port=PORT,
        reload=DEBUG,
        log_level=LOG_LEVEL.lower()
    )
